package com.dmyang.service;

import com.dmyang.entity.Doctor;
import com.dmyang.entity.Patient;
import org.apache.ibatis.annotations.Param;

/**
 * Created by brss on 2017/7/20.
 */
public interface UserService {

    public int createPatient(Patient patient);

    public Patient queryPatByUsernameAndPwd( Patient patient);

    public boolean isDocFirstLogin(Doctor doctor);

    public Doctor queryDocByPkAndPwd( Doctor doctor);
}
